# -*- coding: utf-8 -*-
# @Time    : 2023/5/8
# @Author  : tangyu
from app.main.entity.base_entity import BaseEntity


class PerformancePredirtionImitateEntity(BaseEntity):
    """
    屈服强度各种参数
    """

    def __init__(self, request_data):
        request_data['column'] = request_data['column'].lower()
        request_data['group_var'] = request_data['group_var'].lower()
        request_data['reelKey'] = request_data['reelKey'].lower()
        request_data['Y'] = request_data['Y'].lower()
        self.group_var = request_data['group_var']
        self.modelname = request_data['modelname']
        self.column = request_data['column']
        self.data = request_data['data']
        self.reel_key = request_data['reelKey']
        self.Y = request_data['Y']
        if request_data:
            self.set_attr(request_data)

